<?php

{{ builderInfo.php|raw }}

namespace {{ thisController.namespace }};

class {{ thisController.class }} extends \ADIOS\Controllers\Components\Form {

  public function prepareLoadRecordQuery(): \Illuminate\Database\Eloquent\Builder {
    $query = parent::prepareLoadRecordQuery();

    // Modify the $query here
    // You can use $this->model property to get the model for which the query is built.
    // !!! DO NOT FORGET TO DELETE THE prototypeBuilderRegenerateAllowed TAG !!!

    return $query;
  }

  public function getParams() {
    $params = parent::getParams();

    // Modify the $params here
    // !!! DO NOT FORGET TO DELETE THE prototypeBuilderRegenerateAllowed TAG !!!

    return $params;
  }

  public function prepareViewParams() {
    parent::prepareViewParams();
  }

}
